<style>
.cbox_content input{
    padding:4px;
    margin:4px !important;
    border:1px solid #cacaca;
}
.gf_browser_unknown{
    padding:20px;
}
textarea{
    border:1px solid #cacaca;
}
</style>
<!-- box san pham 3 hang-->
<div class="cbox">            
    <div class="cbox_header clearfix">
        <span class="cbox_title block left">
            Liên hệ
        </span>
    <span class="cbox_bg_midd block left"></span>                
    </div>                
    <div class="cbox_content clearfix gf_browser_unknown">
    <?php  if(empty($_COOKIE["lienhe"])){?>    
        <form method="POST" action="<?php echo base_url().'lien-he';?>">
        <input type="text" size="30" name="ten"/><label>Họ tên (*)</label><br />
        <input type="text" size="30" name="email" /><label>Email (*)</label><br />
        <input type="text" size="30" name="dienthoai" /><label>Điện thoại (*)</label><br />
        <input type="text" size="30" name="diachi" /><label>Địa chỉ (*)</label><br />
        <label>Nội dung:</label> <br /><textarea name="thongtin" rows="8" cols="50" ></textarea><br />
        <?php echo '<font color=red>'.validation_errors().'</font>'; ?>
        <input type="submit" value="Gửi yêu cầu"/>
       </form>
       
      <?php }else{
        
            echo $_COOKIE["lienhe"];
       
      }
      ?> 
      </div>                            
</div><!--end box san pham 3 hang-->
    
	